package tech.moya.flexbase.beans
{
	public class Connection
	{
		private var connectionTables:Array;
		private var connectionDescription:String;
		private var connectionFilePath:String;
		
		public function toString():String{
			return connectionDescription;
		}
		
		public function Connection(connectionTables:Array,connectionDescription:String,connectionFilePath:String)
		{
			this.connectionTables = connectionTables;
			this.connectionDescription = connectionDescription;
			this.connectionFilePath = connectionFilePath;
		}
		
		public function get Tables():Array{
			return connectionTables.slice(0,connectionTables.length);
		}
		
		public function get Description():String{
			return connectionDescription;
		}
		
		public function get FilePath():String{
			return connectionFilePath;
		}

	}
}